Skip to content

fix(web): hide unsupported Codex slash commands in remote mode#357

Merged
tiann merged 1 commit intotiann:mainfrom
Sun-sunshine06:fix-codex-slash-commands-remote-mode
Mar 24, 2026
Merged

fix(web): hide unsupported Codex slash commands in remote mode#357
tiann merged 1 commit intotiann:mainfrom
Sun-sunshine06:fix-codex-slash-commands-remote-mode

Conversation

@Sun-sunshine06
Copy link
Contributor

Summary

  • stop advertising built-in Codex slash commands in remote web mode until app-server can execute them end-to-end
  • show a localized toast when users send unsupported built-ins like /status
  • keep project and plugin Codex prompts expandable in autocomplete and add regression coverage

Test Plan

  • bun test web/src/lib/codexSlashCommands.test.ts
  • bun run --cwd web typecheck
  • bun run --cwd web build

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings

  • None.

Summary
Review mode: initial
No issues found in modified lines. Residual risk: UI path for Codex slash-command blocking/toast not covered by tests.

Testing

  • Not run (automation)

@tiann tiann merged commit 92885dd into tiann:main Mar 24, 2026
2 checks passed
Hwwwww-dev pushed a commit to Hwwwww-dev/hapi that referenced this pull request Mar 26, 2026
Hwwwww-dev added a commit to Hwwwww-dev/hapi that referenced this pull request Mar 26, 2026
Cherry-picked 15 upstream commits (post v0.16.3):
- fix(terminal): prevent infinite reconnect loop on Windows hosts (tiann#336)
- fix(cli): fix process exit handling deadlock in Claude SDK (tiann#343)
- fix(claude): handle async background task notifications in remote mode (tiann#354)
- fix(cli): filter invisible system messages in local mode (tiann#351)
- fix(cli): filter isMeta and isCompactSummary messages (tiann#359)
- fix(cli): prevent system-injected messages as user role (tiann#361)
- fix(hub): pass resumeSessionId when resuming session (tiann#337)
- fix(cli): treat any exit code as expected when abort requested (tiann#347)
- fix: Codex default approval policy for remote sessions (tiann#328)
- fix(hub): handle Telegram bot polling errors (tiann#350)
- fix(web): keep mobile views scrollable and new-session actions reachable (tiann#364)
- fix(web): hide unsupported Codex slash commands in remote mode (tiann#357)
- fix(web): restore mobile scrolling outside Telegram (tiann#358)
- fix(web): add visual indicator for sending message status (tiann#344)
- feat(claude): add effort setting parity with model across stack (tiann#353)

Additional fixes:
- Resolve type errors from upstream cherry-picks
- Add effort 'low' option and fix online WiFi icon
- DB schema V9 → V10 (effort column migration)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants